package com.itheima.advantagesup.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author iTaotao
 * @date 2023/7/26 13:25
 * @desciption: 链接修改
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LinkUpdateDTO implements Serializable {

   @ApiModelProperty("链接id")
    private String id;

    @ApiModelProperty("描述")
    private String des;

    @ApiModelProperty("图片")
    private String img;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("类型: 1.文字 2.图片")
    private String type;

    @ApiModelProperty("链接地址")
    private String url;
}
